package com.lostsheep.java.design.mode.builder;

/**
 * <b><code>Builder</code></b>
 * <p/>
 * Description
 * <p/>
 * <b>Creation Time:</b> 2021/3/21.
 *
 * @author dengzhen
 * @since java-design-mode
 */
public abstract class Builder {

    /**
     * setUpCPU
     *
     * @param cpu
     */
    public abstract void cpu(String cpu);

    /**
     * setUpMotherboard
     *
     * @param motherboard
     */
    public abstract void motherboard(String motherboard);

    /**
     * setUpGraphic
     *
     * @param graphic
     */
    public abstract void graphic(String graphic);

    /**
     * setUpOS
     */
    public abstract void os();

    /**
     * buildLaptop
     *
     * @return
     */
    public abstract Laptop build();
}
